home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / autodisk.arc / AUTODISK.DOC < prev    next >
INI File  |  1987-08-23  |  2KB  |  54 lines

  1. []
  2.    AUTODISK - program to copy floppy disk to RAM disk upon system
  3.                  boot, and also set the system clock.
  4.  
  5. FUNCTION
  6.  
  7.    This program is to be placed in the \AUTO folder on the boot disk,
  8.    AFTER the RAMdisk program.  (It assumes the reset-immune RAM disk is
  9.    already installed.)  After asking the user for the current time and
  10.    date, and setting the ST's two clocks accordingly, this program copies
  11.    the whole floppy disk data, FATs, directory and all, onto the RAMdisk.
  12.    (It first finds out which sector is the last one actually holding data,
  13.    and copies all sectors up to that one.)
  14.  
  15. HINTS
  16.  
  17.    For best results:  Freshly format a disk, make an AUTO directory,
  18.    put in it first RAMDISK.PRG and then AUTODISK.PRG, then put on the
  19.    disk all other files you want to load to the RAMdisk at boot time.
  20.    You may save the desktop (with the RAMdisk icon installed, and perhaps
  21.    the RAMdisk's window open) on the disk, too.  Make sure the RAMdisk
  22.    is more than big enough to hold all those files.
  23.  
  24. ACKNOWLEDGEMENTS
  25.  
  26.    This program made possible in part by Eric Terrell, who posted
  27.    "eternal.s".  The method of setting the ST's clocks is borrowed
  28.    from "settime", posted by Allan Pratt of Atari.
  29.  
  30. WARNINGS
  31.  
  32.    This is the first release of AUTODISK, use at your own risk!
  33.    Please report any bugs.
  34.  
  35.    This program is for booting off a floppy disk.  For hard disks (or
  36.    future, very large, floppies) the program (and/or the RAMdisk program)
  37.    will need some work.
  38.  
  39.    This program will not work with "copy protected" disk formats,
  40.    including the "FAST" format with its "dead" sectors.
  41.  
  42. FUTURE ENHANCEMENTS
  43.  
  44.    Currently AUTODISK uses the BIOS call Rwabs() to read the data off
  45.    the floppy disk.  The speed achieved is about 10Kbytes/sec, not bad
  46.    but less than one half of the theoretical limit.  (The disk has to
  47.    make a full turn in order to read a whole track, that's 0.2 seconds.)
  48.    (I've tried the XBIOS call Floprd(), and it gave the same speed.)
  49.    But STCOPY gets very close to the theoretical limit - I still don't
  50.    know how!  Any hints would be appreciated.
  51.  
  52.    - Moshe Braner
  53.  
  54.